package com.longrise.android.byjk.plugins.dealsituation.cachecourse.downloadeddetail;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by callxkj on 2017/4/7.
 */

public class DownloadedDetailTitleItem extends AbstractExpandableItem<DownloadedDetailChildItem> implements MultiItemEntity{

    private final String title;

    public DownloadedDetailTitleItem(String title){
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return DownloadedDetailRcvAdapter.TYPE_0;
    }
}
